package cn.tedu.psychology.mapper;

import cn.tedu.psychology.pojo.entity.Question;
import cn.tedu.psychology.pojo.vo.QuestionListItemVO;
import cn.tedu.psychology.pojo.vo.QuestionStandardVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface QuestionMapper {

    void insert(Question question);

    QuestionStandardVO getStandardById(Long id);

    List<QuestionListItemVO> list();

}
